<?php
namespace App\Console\Commands\MonthlyReportLT;

use App\Logic\MonthlyReportLT\CheckPaymentTh;
use Illuminate\Console\Command;
class PaymentCheckPaymentTh extends Command
{
    /**
     * The name and signature of the console command.
     *
     * @var string
     */
    protected $signature = 'lt-payment:check-payment-th {date=null}';

    /**
     * The console command description.
     * 产品物流费核算
     * @var string
     */
    protected $description = 'check-payment-th';

    /**
     * Create a new command instance.
     *
     * @return void
     */
    public function __construct()
    {
        parent::__construct();
    }

    /**
     * Execute the console command.
     */
    public function handle()
    {
        $date = $this->argument('date');
        CheckPaymentTh::exe($date);
        die('finish');
    }
}
